package org.cpar.compiler;

public class MonitorFunction {

	private final Monitor monitor;
	private final String name;
	private Object data;

	public MonitorFunction(Monitor m, String name, Object data) {
		monitor = m;
		this.name = name;
		this.data = data;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public Monitor getMonitor() {
		return monitor;
	}

	public String getName() {
		return name;
	}

}
